package com.capsulode.excel.conversion;

import com.capsulode.excel.exception.ValidationFailedException;

@FunctionalInterface
public interface Validator<T> {
    /**
     * Validate field value.
     *
     * @throws ValidationFailedException if validation failed.
     */
    void validate(T value) throws ValidationFailedException;
}
